﻿<%@ Page MaintainScrollPositionOnPostback="true" Title="" Language="C#" MasterPageFile="~/MasterPlus.master" AutoEventWireup="true" CodeBehind="wbfrm_Cambio_Empleados.aspx.cs" Inherits="FrontEndPlus.Módulos.Catálogos_y_Mantenimientos.wbfrm_Cambio_Empleados" %>

<%@ Register Src="~/Módulos/Catálogos y Mantenimientos/MenuVertical.ascx" TagName="MenuVertical" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="App_Themes/CSS/Smoke.css"/>
    <link type="text/css" rel="stylesheet" href="App_Themes/CSS/formEspera.css" />
    <script type="text/javascript" src="JS/Smoke.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("[id$=txt_FecIng]").datepicker({
                dateFormat: 'dd-mm-yy',
                showOn: 'button',
                buttonImageOnly: true,
                buttonImage: '../../App_Themes/Resources/icon-calendar.gif',
                changeMonth: true,
                changeYear: true
            });
        });
    </script>
    <script type="text/javascript" src="JS/Smoke.js"></script>
   <style type="text/css">
        .auto-style2 {
            width: 307px;
        }       
        .auto-style4 {
            height: 33px;
        }        
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    <div>
        <uc1:MenuVertical ID="MenuVertical1" runat="server" />
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Panel ID="Panel3" runat="server">
          <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
            <tr>
                <td></td>
                <td align="center"></td>
                <td align="center" class="auto-style2" colspan="8">
                    <h1><strong>Cambio de Empleados</strong></h1>
                </td>
            </tr>
            </table>
        <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
             <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td align="center" class="auto-style2">
                    <asp:ToolkitScriptManager ID="tsm_ScriptManager" runat="server"></asp:ToolkitScriptManager>
                </td>
            </tr>
             <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"><h2 style="color: darkblue">Agregar/Modificar</h2></td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                 
                </td>
                <td align="right" class="auto-style4">Id: </td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Codigo" runat="server" TabIndex="4" MaxLength="10" ReadOnly="True" Width="59px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Nombre(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Nombre" runat="server" MaxLength="30" Width="229px"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txt_Nombre" EnableClientScript="False" ErrorMessage="Digitar Nombre" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Apellidos(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Apellidos" runat="server" Width="357px" MaxLength="50"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txt_Apellidos" EnableClientScript="False" ErrorMessage="Digitar Apellidos" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Cédula(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Cedula" runat="server" Width="145px" MaxLength="11"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txt_Cedula" EnableClientScript="False" ErrorMessage="Digitar Cédula" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Tipo Empleado:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_TipoEmpleado" runat="server" Width="144px" CssClass="DropDownListcompleto">
                    </asp:DropDownList><br />
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="ddl_TipoEmpleado" EnableClientScript="False" ErrorMessage="Seleccionar Tipo de Empleado" ForeColor="Maroon" MaximumValue="2" MinimumValue="1" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Departamento:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_Departamento" runat="server" Width="146px" CssClass="DropDownListcompleto">
                    </asp:DropDownList><br />
                    <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="ddl_Departamento" EnableClientScript="False" ErrorMessage="Seleccionar Departamento" ForeColor="Maroon" MaximumValue="2" MinimumValue="1" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Calendario Laboral:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_Calendario" runat="server" Width="146px" CssClass="DropDownListcompleto">
                        <asp:ListItem>Diurno</asp:ListItem>
                        <asp:ListItem>Tarde</asp:ListItem>
                        <asp:ListItem>Nocturno</asp:ListItem>
                    </asp:DropDownList><br />
                    <asp:RangeValidator ID="RangeValidator8" runat="server" ControlToValidate="ddl_Calendario" EnableClientScript="False" ErrorMessage="Seleccionar Calendario" ForeColor="Maroon" MaximumValue="2" MinimumValue="1" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                    
                </td>
                <td align="right" class="auto-style4">Sucursal:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_Sucursal" runat="server" Width="147px" CssClass="DropDownListcompleto">
                    </asp:DropDownList><br />
                    <asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="ddl_Sucursal" EnableClientScript="False" ErrorMessage="Seleccionar Sucursal" ForeColor="Maroon" MaximumValue="2" MinimumValue="1" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Carrera Profesional:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_Profesional" runat="server" Width="147px" CssClass="DropDownListcompleto">
                    </asp:DropDownList><br />
                    <asp:RangeValidator ID="RangeValidator4" runat="server" ControlToValidate="ddl_Profesional" EnableClientScript="False" ErrorMessage="Seleccionar Carrera Profesional" ForeColor="Maroon" MaximumValue="2" MinimumValue="1" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Dirección:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Direccion" runat="server" Width="296px" MaxLength="90"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txt_Direccion" EnableClientScript="False" ErrorMessage="Digitar Dirección" ForeColor="Maroon" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                
                </td>
                <td align="right" class="auto-style4">Correo Electrónico(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Email" runat="server" Width="182px" MaxLength="50"></asp:TextBox><br />
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Fecha de Ingreso:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_FecIng" runat="server" MaxLength="11" Width="73px" ReadOnly="True"></asp:TextBox><br />
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                
                </td>
                <td align="right" class="auto-style4">Estado:</td>
                <td class="auto-style2">
                    <asp:CheckBox ID="chk_Activo" runat="server" Text="Funcionamiento" CssClass="letrapantallas" OnCheckedChanged="chk_Activo_CheckedChanged" AutoPostBack="True"/>
                    <asp:CheckBox ID="chk_Inactivo" runat="server" Text="Liquidado" CssClass="letrapantallas" OnCheckedChanged="chk_Inactivo_CheckedChanged" AutoPostBack="True"/><br />
                    <asp:Label ID="lbl_ErrorCheck" runat="server" ForeColor="Maroon" CssClass="msjerror"></asp:Label>
                </td>
            </tr>
            <tr>
                 <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>      
                <td align="left" class="auto-style2">
                    <h2 style="color: darkblue">Teléfonos</h2>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                    <asp:Image ID="img_Celular" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/Telefono_Celular.png" />
                </td>
                <td align="right" class="auto-style4">Teléfono Celular(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Celular" runat="server" Width="127px" MaxLength="11"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="rfv_ValidarCelular" runat="server" ControlToValidate="txt_Celular"
                        ValidationGroup="Initial" Display="None" ErrorMessage="Favor digitar Número de Celular correcto."
                        SetFocusOnError="True" CssClass="msjerror" ForeColor="Maroon"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" TargetControlID="rfv_ValidarCelular">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                    <asp:Image ID="img_Habitacion" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/Telefono_Fijo.png" />
                </td>
                <td align="right" class="auto-style4">Habitación(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Habitacion" runat="server" Width="119px" MaxLength="50"></asp:TextBox><br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_Habitacion"
                        ValidationGroup="Initial" Display="None" ErrorMessage="Favor digitar Número de Celular correcto."
                        SetFocusOnError="True" CssClass="msjerror" ForeColor="Maroon"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RequiredFieldValidator1">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                    
                </td>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <asp:ImageButton ID="imgbtn_Agregar" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" OnClick="imgbtn_Agregar_Click"/>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
